/*
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see http://www.gnu.org/licenses/. 
 *
 *  Authors:
 *  	Albert Marieges Garcia
 *  	Álex Pardo Fernández
 *  	Enric Mayas Márquez
 *  	Juan Carlos Calvo Tejedor
 *  	Marc Gironés Dezsényi
 *  
 *  Contact:
 *  	bcn.tours.android@gmail.com
 *  Webpage:
 *  	bcntours.co.cc
 *
 */
package com.BCNTours.Model;

import java.io.Serializable;

/**
 * Class that represents a POI which references a generic POI.
 *
 */
public class BasicInfoPoi implements Serializable {

	private static final long serialVersionUID = 4293865672826536023L;
	
	private String name;		// NAME
	private Poi poi;			// POI
	private int type;			// TYPE
	private int image;			// IMAGE
	
	/**
	 * Constructor of the class
	 * 
	 * @param name
	 * @param type
	 * @param poi
	 * @param image
	 */
	public BasicInfoPoi(String name, int type, Poi poi, int image) {
		super();
		this.name = name;
		this.poi = poi;
		this.type = type;
		this.image = image;
	}
	
	/////////////////////////////////////////////////////////////////////
	// GETTERS AND SETTERS
	/////////////////////////////////////////////////////////////////////

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
	
	public void setPoi(Poi poi){
		this.poi = poi;
	}
	public Poi getPoi(){
		return poi;
	}
	
	public void setImage(int image){
		this.image = image;
	}
	public int getImage(){
		return image;
	}
	
}